package com.huangpuweb.task.model;

import org.springframework.jdbc.core.RowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

public class BlmqCheckListRowMapper implements RowMapper<BlmqCheckList>{



	@Override
	public BlmqCheckList mapRow(ResultSet rs, int rowNum) throws SQLException {
		BlmqCheckList  lj= new BlmqCheckList();
		lj.setID(rs.getString("ID"));
		lj.setBUILD_ID(rs.getInt("BUILD_ID"));
		lj.setYEAR(rs.getInt("CHECK_YEAR"));
		lj.setCHECK_TIME(rs.getTimestamp("CHECK_TIME"));
		lj.setNEED_CHANGE(rs.getInt("NEED_CHANGE"));
		lj.setFOUND_ISSUES(rs.getInt("FOUND_ISSUES"));
		lj.setBUILD_TAG(rs.getString("BUILD_TAG"));
		lj.setCONFIRM_SHEET(rs.getString("CONFIRM_SHEET"));
		lj.setHIGH_DEOP_RISK(rs.getInt("HIGH_DEOP_RISK"));
		lj.setCHECK_STATUS(rs.getInt("CHECK_STATUS"));
		lj.setCREATE_TIME1(rs.getTimestamp("CREATE_TIME1"));
		lj.setLAST_TIME(rs.getTimestamp("LAST_TIME"));
		return lj;
	}

}
